﻿using MediatR;
using Medical.Domain.DepartmentInfo;
using Medical.ErrorCode;
using System.ComponentModel.DataAnnotations;
namespace Medical.Api.Write.Application.Command.DepartmentManagement.Use
{
    public class AddUseCommands:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 要添加的使用表实体
        /// </summary>
        [Required(ErrorMessage = "使用表数据不能为空")]
        public UseTable useTable { get; set; }
    }
}
